package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallAd;
import com.ctsi.ssdc.domain.LitemallAdExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallAdRepository extends BaseRepository<LitemallAd, Integer, LitemallAdExample> {
    @Override
    long countByExample(LitemallAdExample example);

    @Override
    int deleteByExample(LitemallAdExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallAd record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallAd record);

    @Override
    List<LitemallAd> selectByExample(LitemallAdExample example);

    @Override
    LitemallAd selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallAd record, @Param("example") LitemallAdExample example);

    @Override
    int updateByExample(@Param("record") LitemallAd record, @Param("example") LitemallAdExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallAd record);

    @Override
    int updateByPrimaryKey(LitemallAd record);
}